

@extends('plugin.layout.baseDoing')
@section('add_css')
    <link rel="stylesheet" href="{{ ___('/admin/js/jquery.tagsinput.css') }}">
@endsection
@section('content')
    <div class="layui-form layui-form-kongqi" id="layuiadmin-form" id="layuiadmin-form">
        {{ csrf_field() }}
        {{ method_field('PUT') }}

        <div class="layui-card">

            <div class="layui-card-body">
                <div class="layui-form layui-form-kongqi" lay-filter="">
                    {{ csrf_field() }}
                    <input type="hidden" name="lang_id" value="1">
                    <input type="hidden" name="group_type" value="{{ request()->input('group_type') }}">
                    @include('plugin.tpl.form.text',[
                      'data'=>[
                      'name'=>'name',
                      'title'=>'用户昵称',
                      'tips'=>'',
                      'value'=>$show->name,
                      'rq'=>'rq'
                    ]])
                    @include('plugin.tpl.form.text',[
                          'data'=>[
                          'name'=>'money',
                          'title'=>'余额',
                          'tips'=>'',
                           'value'=>$show->money,
                          'rq'=>'rq|number'
                      ]])
                    @include('plugin.tpl.form.text',[
                          'data'=>[
                          'name'=>'email',
                          'title'=>'邮箱',
                          'tips'=>'',
                          'value'=>$show->email,
                          'rq'=>'rq|email'
                      ]])

                    @include('plugin.tpl.form.text',[
                       'data'=>[
                       'name'=>'password',
                       'title'=>'密码',
                       'tips'=>'',
                       'value'=>'',
                       'rq'=>''
                   ]])
                    @include('plugin.tpl.form.text',[
                        'data'=>[
                        'name'=>'buy_password',
                        'title'=>'交易密码',
                        'tips'=>'',
                        'value'=>$show->buy_password,
                        'rq'=>'rq'
                      ]])

                    @include('plugin.tpl.form.radio',[
                     'data'=>[
                     'name'=>'is_checked',
                     'title'=>'是否禁用',
                     'mark'=>'',
                     'tips'=>'',
                     'rq'=>'rq',
                     'on_id'=>$show->is_checked,
                     'value'=>'',
                     'list'=>[
                         'type'=>'',
                         'data'=>[
                                   [
                                   'id'=>'1',
                                   'name'=>'否'
                                   ],
                                     [
                                   'id'=>'0',
                                   'name'=>'是'
                                   ]
                             ]
                     ]
                 ]])
                    @include('plugin.tpl.form.submit')
                    @include('plugin.tpl.form.submit')
                </div>
            </div>


        </div>


        @include('plugin.tpl.form.submit')


    </div>
@endsection
@section('foot_js')
    <script src="{{ ___('/admin/js/jquery.tagsinput.js') }}"></script>
    <script>
        layui.use(['index'], function () {
            $('#tags').tagsInput();

        })
    </script>

@endsection